#include "lcd_extra.h"
#include "display_drv.h"
void lcd_extra_config(void)
{

    oled_write_cmd(0xfe);
    oled_write_cmd(0xef);
    // oled_write_cmd(0x36);
    // oled_write_data(0x48);
    // oled_write_cmd(0x3a);
    // oled_write_data(0x05);

    oled_write_cmd(0x86);
    oled_write_data(0x98);
    oled_write_cmd(0x89);
    oled_write_data(0x03);

    oled_write_cmd(0x8b);
    oled_write_data(0x80);

    oled_write_cmd(0x8d);
    oled_write_data(0x33);
    oled_write_cmd(0x8e);
    oled_write_data(0x8f);

    // inversion
    oled_write_cmd(0xe8);
    oled_write_data(0x12);
    oled_write_data(0x00);

    oled_write_cmd(0xc3);
    oled_write_data(0x20);

    oled_write_cmd(0xc4);
    oled_write_data(0x30);

    oled_write_cmd(0xc9);
    oled_write_data(0x08);

    oled_write_cmd(0xff);
    oled_write_data(0x62);

    oled_write_cmd(0x99);
    oled_write_data(0x3e);
    oled_write_cmd(0x9d);
    oled_write_data(0x4b);
    oled_write_cmd(0x98);
    oled_write_data(0x3e);
    oled_write_cmd(0x9c);
    oled_write_data(0x4b);

    oled_write_cmd(0xf0);
    oled_write_data(0x13);
    oled_write_data(0x14);
    oled_write_data(0x07);
    oled_write_data(0x05);
    oled_write_data(0xf0);
    oled_write_data(0x29);

    oled_write_cmd(0xf1);
    oled_write_data(0x3e);
    oled_write_data(0x92);
    oled_write_data(0x90);
    oled_write_data(0x21);
    oled_write_data(0x23);
    oled_write_data(0x9f);

    oled_write_cmd(0xf2);
    oled_write_data(0x13);
    oled_write_data(0x14);
    oled_write_data(0x07);
    oled_write_data(0x05);
    oled_write_data(0xf0);
    oled_write_data(0x29);

    oled_write_cmd(0xf3);
    oled_write_data(0x3e);
    oled_write_data(0x92);
    oled_write_data(0x90);
    oled_write_data(0x21);
    oled_write_data(0x23);
    oled_write_data(0x9f);
}
